package springboot.learn.arcgis.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 分片上传Controller
 */
@RestController
@RequestMapping("/webapi")
public class testcontroll {

    @RequestMapping("/test")
    @ResponseBody
    private String testresponse(HttpServletRequest request,
                                HttpServletResponse response) {

        try {
           // response.getOutputStream().write("hello".getBytes());
        } catch (Exception e) {

        }
        return "ok";
    }
}
